SC_sphereSlideGroup

SYNTAX
return integer=SC_sphereSlideGroup ( groupNum, oldx, oldy, oldz, x, y, z, radius, excludeObj )

-groupNum: the group you want to check for collision use 0 for all groups
-oldx...z: the start and end points of the sphere to check.
-radius: the radius of the sphere you want to cast.
-excludeObj: an object to exclude from the collision check.
returns: the object number collided with is returned
returns 0 if no collision occured.

Similar to SC_sphereSlide except it checks a group of objects
or all groups if group=0.

Objects assigned group 0 during setup have no group and are ignored in group collision.



RELATED INFO
Collision Commands Menu
Index